Key Events
Table of Contents


Key Event Types:

  • func get_key_code( atom event )   
  • func key_event_shiftdown( atom event )     
     
    Parent Topics:
  • Events  
     
    Subtopics:
  • Key Codes

    Key Events
    Table of Contents

    [func]
    get_key_code
    ( atom event )

    Category: Key Events

    Returns the virtual key code. ASCII events return normal ASCII values, while non-ASCII events return values such as WXK_LEFT for the left cursor key.

    See Also: key_event_shiftdown


    Key Events
    Table of Contents

    [func]
    key_event_shiftdown
    ( atom event )

    Category: Key Events

    This returns an atom of 1 if the Shift key is currently pressed down and 0 if it is not.

    See Also: get_key_code